﻿using UnityEditor;
using UnityEngine;


abstract public class BoundingCollision<T> : BoundingBase<T>
{
    protected void OnCollisionEnter2D(Collision2D collision2D)
    {
        OnEnter(collision2D.collider);
    }
    protected void OnCollisionExit2D(Collision2D collision)
    {
        OnExit(collision.collider);
    }
}
